-
Home
-
Moloni
-
4.7.0
-
Code
-
Classes
- Product
Total Complexity |
73 |
Dependencies |
8 |
Dependents |
4 |
Total lines |
493 |
Lines of code |
272 |
Logical lines of code |
168 |
Comment lines |
91 |
Methods |
17 |
Properties |
21 |
Methods 17
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
needsToUpdateProduct() |
A |
47 |
16 |
33 |
setCategory() |
A |
47 |
13 |
36 |
setTaxes() |
A |
46 |
11 |
37 |
setType() |
S |
62 |
4 |
11 |
mapPropsToValues() |
S |
53 |
3 |
23 |
update() |
S |
54 |
3 |
21 |
loadByReference() |
S |
53 |
3 |
20 |
setEan() |
S |
61 |
3 |
13 |
create() |
S |
56 |
2 |
18 |
setPrice() |
S |
68 |
3 |
7 |
getDefaultTax() |
S |
62 |
2 |
12 |
getProductId() |
S |
80 |
2 |
3 |
setReference() |
S |
66 |
2 |
8 |
setUnitId() |
S |
67 |
2 |
8 |
__construct() |
S |
69 |
2 |
7 |
setProduct() |
S |
68 |
1 |
11 |
setName() |
S |
76 |
1 |
4 |